﻿using System;
using System.Collections.Generic;
using System.Text;
using PosHacker.Utility;

namespace PosHacker.Form
{
    class FormGetMarkableQuestions:POSForm
    {
        public FormGetMarkableQuestions()
        {
        }

        public FormGetMarkableQuestions(string strOnClick)
        {

            string[] res = this.ParseOnClick(strOnClick, "selectMarkableList(");

            this.testName = res[0].Trim('\'').TrimStart('\'');
            this.subjectName = res[1].Trim('\'').TrimStart('\'');
            this.courseName = res[2].Trim('\'').TrimStart('\'');
            this.pageNum = res[3].Trim('\'').TrimStart('\'');

            this.time = POSUtility.GetJSTime();

        }

        public string time { get; set; }
        public string testName { get; set; }
        public string subjectName { get; set; }
        public string courseName { get; set; }
        public string pageNum { get; set; }

    }
}
